package com.njtoyo.taxi.admin.mapper.master.enums.driverNotifyMessage;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum MediaCategory {
    titleText(0, "标题文本"),
    text(1, "纯文本"),
    image(2, "图文"),
    video(3, "视频");

    @EnumValue
    private final int code;
    private final String desc;

    MediaCategory(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }
}
